package exemplo.model;

import java.util.Date;

public class Sale implements java.io.Serializable{
	
	private static final long serialVersionUID = 1L;
	
	private int code;
	private Product product;
	private String address;
	private Login vendor;
	private Date date;
	private double price;
	
	public int getCode() {
		return code;
	}
	public void setCode(int code) {
		this.code = code;
	}
	public Product getProduct() {
		return product;
	}
	public void setProduct(Product product) {
		this.product = product;
	}
	public String getAddress() {
		return address;
	}
	public void setAddress(String address) {
		this.address = address;
	}
	public Login getVendor() {
		return vendor;
	}
	public void setVendor(Login vendor) {
		this.vendor = vendor;
	}
	public Date getDate() {
		return date;
	}
	public void setDate(Date date) {
		this.date = date;
	}
	public double getPrice() {
		return price;
	}
	public void setPrice(double price) {
		this.price = price;
	}
	
	
}
